<li><?php $category = pc_variable("commerce.childCategory"); ?>
<a href="dispatcher.php?controller=Commerce/GetCategory&amp;categoryId=<?php pc_echo($category->getId()); ?>">
<?php pc_echo($category->get("name")); ?></a><?php if($category->get("categories")->size() > 0) { ?>
	<ul><?php foreach($category->get("categories") as $childCategory) {
	    pc_pagelet("categories/list-item",
	       array("commerce.childCategory" => $childCategory));
	} ?></ul>
<?php } ?></li>